package nc.ui.arap.service;

import java.util.Map;

import nc.ui.arap.selectedpay.Cache;
import nc.ui.ep.dj.DjPanel;
import nc.ui.pub.ClientEnvironment;
import nc.vo.arap.service.ServiceVO;
import nc.vo.pub.BusinessException;

public class PageCacheCall extends AbstractCall{

	public PageCacheCall(DjPanel djp) {
		super(djp);
	}

	public ServiceVO getServcallVO() {
		callvo=new ServiceVO();
		callvo.setClassname("nc.itf.uap.busibean.ISysInitQry");
		callvo.setMethodname("getParaString");
		callvo.setParamtype(new Class[] {String.class, String.class});
		callvo.setParam(new Object[] {parent.getDjSettingParam().getPk_corp(),"FICOMMON02"});
		return callvo;
	}

	public void handleResult(Map<String, Object> datas)throws BusinessException {
		String pagecount=(String)datas.get(callvo.getCode());
		Cache c=new Cache(pagecount);
		parent.setVoCache(c);
	}

}
